package com.ruoyi.production.mapper;

import java.util.List;
import com.ruoyi.production.domain.GreenhousefilmReturn;

/**
 * 棚膜退回Mapper接口
 *
 * @author ruoyi
 * @date 2021-07-21
 */
public interface GreenhousefilmReturnMapper
{
    /**
     * 查询棚膜退回
     *
     * @param greenhousefilmReturnId 棚膜退回ID
     * @return 棚膜退回
     */
    public GreenhousefilmReturn selectGreenhousefilmReturnById(Long greenhousefilmReturnId);

    /**
     * 查询棚膜退回列表
     *
     * @param greenhousefilmReturn 棚膜退回
     * @return 棚膜退回集合
     */
    public List<GreenhousefilmReturn> selectGreenhousefilmReturnList(GreenhousefilmReturn greenhousefilmReturn);

    /**
     * 新增棚膜退回
     *
     * @param greenhousefilmReturn 棚膜退回
     * @return 结果
     */
    public int insertGreenhousefilmReturn(GreenhousefilmReturn greenhousefilmReturn);

    /**
     * 修改棚膜退回
     *
     * @param greenhousefilmReturn 棚膜退回
     * @return 结果
     */
    public int updateGreenhousefilmReturn(GreenhousefilmReturn greenhousefilmReturn);

    /**
     * 删除棚膜退回
     *
     * @param greenhousefilmReturnId 棚膜退回ID
     * @return 结果
     */
    public int deleteGreenhousefilmReturnById(Long greenhousefilmReturnId);

    /**
     * 批量删除棚膜退回
     *
     * @param greenhousefilmReturnIds 需要删除的数据ID
     * @return 结果
     */
    public int deleteGreenhousefilmReturnByIds(Long[] greenhousefilmReturnIds);

    /**
     * 获取棚膜类型
     *
     * @param
     * @return 结果
     */
    public List<GreenhousefilmReturn> getGreenhousefilmType();

    /**
     * 获取用户
     *
     * @param
     * @return 结果
     */
    public List<GreenhousefilmReturn> getUserName();

    /**
     * 获取棚膜厚度
     *
     * @param greenhousefilmTypeId 棚膜类型ID
     * @return 结果
     */
    public List<Double> getThickness(Long greenhousefilmTypeId);

    /**
     * 获取公司
     *
     * @param greenhousefilmTypeId 棚膜类型ID
     * @return 结果
     */
    public List<String> getOriginCompany(Long greenhousefilmTypeId);

    /**
     * 更新库存量表
     *
     * @param greenhousefilmReturn 棚膜退回
     * @return 结果
     */
    public int updateGreenhousefilmAmount(GreenhousefilmReturn greenhousefilmReturn);
}
